package com.study.util;

import com.alibaba.fastjson.JSON;

/**
 * @author ytj
 * @date 2021/11/4
 */
public class JsonUtil {
    public static <T> T parseObject(String value,Class<T> clazz){
        return JSON.parseObject(value,clazz);
    }

    public static String toJsonString(Object obj){
        return JSON.toJSONString(obj);
    }
}
